package marvin.client.rtp;

import marvin.client.player.MP3Player;
import marvin.client.player.MP3PlayerListener;

public class PlayerControllerListener  implements MP3PlayerListener{

	private StreamReceiver streamReceiver;
	
	public PlayerControllerListener( StreamReceiver streamReceiver){
		this.streamReceiver = streamReceiver;
	}
	
	public void onEndOfStream(MP3Player player){
		streamReceiver.sendEndOfMedia();
	}

	public void onPause(MP3Player arg0) {
	}

	public void onPlay(MP3Player arg0) {
	}

	public void onSetRepeat(MP3Player arg0, boolean arg1) {
	}

	public void onSetShuffle(MP3Player arg0, boolean arg1) {
	}

	public void onSetVolume(MP3Player arg0, int arg1) {
	}

	public void onStop(MP3Player arg0) {
	}
}